package com.xxx.networkdisksystem.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author George
 * @since 2023-12-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Depttree对象", description="")
public class Depttree implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "ID")
    @TableId(value = "ID", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "名称")
    @TableField("Dept_Name")
    private String deptName;

    @ApiModelProperty(value = "上级部门")
    @TableField("Superior_Dept")
    private String superiorDept;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "gmtCreation", fill = FieldFill.INSERT)
    private Date gmtcreation;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "gmtModified", fill = FieldFill.INSERT_UPDATE)
    private Date gmtmodified;

    @ApiModelProperty(value = "乐观锁")
    @Version
    private Integer version;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer deleted;


}
